package com.liliudong.pinkyponk.biz.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liliudong.pinkyponk.biz.sys.entity.SysRole;

import java.util.List;

/**
 * SysRoleService
 *
 * @author liliudong
 * @date 2022-06-01 13:06
 **/
public interface SysRoleService extends IService<SysRole> {

    /**
     * getRolesByUserId
     *
     * @param userId
     * @return
     */
    List<SysRole> getRolesByUserId(Long userId);
}
